﻿using Chromely.Core.Configuration;

namespace Reader.Core.Application
{
    public class Applications
    {
        private readonly IChromelyConfiguration _config;

        public Applications(IChromelyConfiguration config)
        {
            _config = config;
        }
        public Books Books
        {
            get
            {
                return new Books(_config);
            }
        }

        public Sites Sites
        {
            get
            {
                return new Sites();
            }
        }
        public Authors Authors
        {
            get
            {
                return new Authors();
            }
        }
        public Net Net
        {
            get
            {
                return new Net();
            }
        }
    }
}
